home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_300
/
333_02
/
fs.awk
< prev
next >
Wrap
Text File
|
1989-04-21
|
298b
|
15 lines
# This sample demonstrates the use of the enhanced FS variable to split
# records on more complicated input files.
BEGIN {
FS = "[\t ]*(SSN|NAME|TEL):[\t ]*"
OFS = "\t"
}
# $1 is empty for each record
{
printf "%-20.20s %10s %16s\n", $2, $3, $4
}